package com.ordersys.cloud.entity;

import java.io.Serializable;



public class Order implements Serializable {


    //订单id
    private Long id;
    //用户信息  ====自己实现
     // private User user;
    //商品
    private ProductDTO product;
    //订单支付
    private PayDTO payDTO;
    //订单状态
    private String status;  // Y 成功  N 失败

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public ProductDTO getProduct() {
        return product;
    }

    public void setProduct(ProductDTO product) {
        this.product = product;
    }

    public PayDTO getPayDTO() {
        return payDTO;
    }

    public void setPayDTO(PayDTO payDTO) {
        this.payDTO = payDTO;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


}
